package com.xxx.kjds.mapper;

import com.xxx.kjds.entity.Goods;
import com.xxx.kjds.entity.OrderGoods;
import com.xxx.kjds.entity.OrderGoodsExample;
import com.xxx.kjds.entity.OrderGoodsKey;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface OrderGoodsMapper {
    long countByExample(OrderGoodsExample example);

    int deleteByExample(OrderGoodsExample example);

    int deleteByPrimaryKey(OrderGoodsKey key);

    int insert(OrderGoods row);

    int insertSelective(OrderGoods row);

    List<OrderGoods> selectByExample(OrderGoodsExample example);

    OrderGoods selectByPrimaryKey(OrderGoodsKey key);

    int updateByExampleSelective(@Param("row") OrderGoods row, @Param("example") OrderGoodsExample example);

    int updateByExample(@Param("row") OrderGoods row, @Param("example") OrderGoodsExample example);

    int updateByPrimaryKeySelective(OrderGoods row);

    int updateByPrimaryKey(OrderGoods row);

    List<Goods> selectGoodByOrderID(Integer id);
}